package Baitap01;

public class Rectangle_Entity {
	double Side01;
	double Side02;
	
	 public double Area(Rectangle_Entity objEntity){
	        return (objEntity.getSide01()*objEntity.getSide02());
	    }
	    
	    public double Perimetter(Rectangle_Entity objEntity){
	        return (objEntity.getSide01() + objEntity.getSide02())*2;
	    }
	    
	    public double getSide01() {
			return Side01;
		}

		public void setSide01(double side01) {
			Side01 = side01;
		}

		public double getSide02() {
			return Side02;
		}

		public void setSide02(double side02) {
			Side02 = side02;
		}

}
